 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background-color: #f0f2f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;


}
.site-header{
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: #333;
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

}
.site-header h1 {
    font-size: 2rem;
    letter-spacing: 1px;
}
.site-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}
.main-nav{
    background-color: #2c3e50;
    border-radius: 0 0 15px 15px;
    margin-bottom: 20px;
    position: sticky;
    top: 10px;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0.8rem;
    flex-wrap: wrap;
    gap: 10px;
}
.nav-list li {
    margin: 0 10px;

}
.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-block;
}
.nav-list a:hover {
    background-color: #e74c3c;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.4);

}
.nav-list a:focus {
    outline: 2px solid #e74c3c;
    outline-offset: 3px;
}
.main-content {
    flex: 1;
    background-color: transparent;
    min-height: 200px;
    border-radius: 15px;
}
.site-footer {
background-color: #34495e;
color: #ecf0f1;
padding: 2rem 1.5rem;
border-radius: 15px ;
margin-top: 20px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 20px;
}
.footer-info, .footer-subscribe {
    flex: 1 1 250px;
    
}
.footer-info h3::before {
    content: "📌";
    font-size: 1.2rem;
    margin-right: 5px;

}
.footer-subscribe h3::before {
    content:  "✉️";
    font-size: 1.2rem;
    margin-right: 5px;
}
.contact-list {
    list-style: none;
    margin-top: 15px;

}
.contact-list li {
    margin-bottom: 10px;
    padding: 5px 0 ;
    border-bottom: 1px dotted #7f8c8d;
}
.contact-list li:hover {
padding-left: 10px ;
border-bottom-color: #e74c3c;
}
.contact-list li::before {
     content:"●";
    color: #e74c3c;
    font-weight: bold;
    display: inline-block;
    width: 1.2rem;
    margin-left:-1.2rem ;
}
#subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px; 
}
.form-group {
    display: flex;
    flex-direction: column;

}
.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 0.95rem;
}

.form-group input {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: #ecf0f1;
    font-size: 1rem;
    transition: background-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus {
    background-color: white;
    outline: 2px solid #e74c3c;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.3);
}
.btn {
    background: linear-gradient(145deg, #e67e22, #e74c3c);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: pulse 2s infinite ease-in-out;
    align-self: flex-start;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.4);
    
}
.btn:active {
    transform: translateY(0);
}
@keyframes pulse {
    0%{
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    70%{
         box-shadow: 0 0 0 12px rgba(231, 76, 60, 0);
    }
     100% {
         box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
     }
}
@media screen and (max-width:768px){
    body {
        padding: 10px;

    }
   .nav-list {
    flex-direction: column;
    align-items: stretch;

   }
   .nav-list li {
    margin: 5px 0;
    text-align: center;
    
   }
   .nav-list a {
    display: block;
    padding: 0.8rem;

   }
   .site-footer {
    flex-direction: column;
    text-align: center;

   }
   .btn {
    align-self: center;
   } 
}
@media screen and (max-width:480px) {
    .site-header h1 {
        font-size: 1.5rem;

    }
    .footer-info h3, .footer-subscribe h3 {
        font-size: 1.2rem;
    }
}

/* Вкладка "Школа"*/
.back-home {
background-color: #e74c3c;
border-radius: 25px;
}
.back-home:hover {
    background-color: #c0392b;

}
.main-content-2 {
flex: 1;
display: flex;
flex-direction:column ;
gap: 25px;
margin-bottom: 30px;

}
.section-2 {
background-color: white;
padding: 25px;
border-radius: 15px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);    
}    
.section-2 h2 {
    color: #333;
    margin-bottom: 20px;
    border-bottom:3px solid #667eea ;
    padding-bottom: 10px;
    text-align: center;

}
.section-2 h2::before {
    content: "🟢";
    color: #764ba2;
    font-size: 1.2rem;
}
/*Таблица расписание*/
.schedule-table {
    width: 100%;
    border-collapse:collapse ;
    margin-top: 15px;
    overflow-x:auto ;
    display: block;
}
.schedule-table th {
background: linear-gradient(135deg, #667eea, #764ba2);
color: white;
padding: 12px;
font-weight: bold;
}
.schedule-table td {
border: 1px solid #ddd;
padding: 10px ;
text-align: center;    
}